<!--<div>-->
    <!--<div class="content_title">-->
        <!--<span>资源主推管理</span>-->
    <!--</div>-->

    <!--<div>-->
        <!--<label for="ad_pushId">ID:</label>-->
        <!--<input id="ad_pushId" onkeyup="(this.v=function(){this.value=this.value.replace(/[^0-9-]+/,'');}).call(this)"-->
               <!--onblur="this.v();" type="text" class="id_input">-->

        <!--<label for="push_type">资源属性:</label>-->
        <!--<select class="select" name="push_type" id="push_type">-->
            <!--<option value=""></option>-->
            <!--<option value="0">文章</option>-->
            <!--<option value="1">视频</option>-->
        <!--</select>-->

        <!--<label for="push_tag">主推情况:</label>-->
        <!--<select class="select" name="push_tag" id="push_tag">-->
            <!--<option value=""></option>-->
            <!--<option value="0">大首页主推</option>-->
            <!--<option value="1">板块主推</option>-->
        <!--</select>-->

        <!--<label for="push_status">状态:</label>-->
        <!--<select class="select" name="push_status" id="push_status">-->
            <!--<option value="">全部</option>-->
            <!--<option value="0">已显示</option>-->
            <!--<option value="1">已隐藏</option>-->
        <!--</select>-->

        <!--<button class="common_btn" ng-click="pushSelectAll()">查询</button>-->
        <!--<button class="add_btn" ng-click="pushAdd()">新增</button>-->
    <!--</div>-->

    <!--<div class="page">-->
        <!--<button class="common_btn article_find" ng-click="toBefore()">-->
            <!--上一页-->
        <!--</button>-->
        <!--<span ng-bind-template="当前第{{currentPage}}页"></span>,<span ng-bind-template="一共{{allPage}}页"></span>-->
        <!--<button class="common_btn article_find" ng-click="toAfter()">-->
            <!--下一页-->
        <!--</button>-->
    <!--</div>-->

    <!--<div class="">-->
        <!--<table class="table special_table">-->
            <!--<tr>-->
                <!--<th>ID</th>-->
                <!--<th>资源属性</th>-->
                <!--<th>主推情况</th>-->
                <!--<th>排序值</th>-->
                <!--<th>操作</th>-->
            <!--</tr>-->
            <!--<tr ng-repeat="i in list">-->
                <!--<td>{{i.pushId}}</td>-->
                <!--<td ng-bind-template="{{i.type=='0'?'文章':'视频'}}"></td>-->
                <!--<td>-->
                    <!--<p>大首页主推：{{i.start}}至{{i.end}}</p>-->
                    <!--<p>板块主推：{{i.first}}至{{i.last}}</p>-->
                <!--</td>-->
                <!--<td>{{i.weight}}</td>-->
                <!--<td>-->
                    <!--<button class="delete_btn show{{i.status}}" ng-click="pushChange(i.status,i.pushId,this)">{{change(i.status)}}</button>-->
                    <!--<button class="revise_btn" ng-click="pushUpdate(i.pushId)">修改</button>-->
                <!--</td>-->
            <!--</tr>-->
        <!--</table>-->
    <!--</div>-->
<!--</div>-->
<div>
    <style>
        select{
            min-width: 80px;
        }
        .show0{
            background: #e66262;
            border-color: #e66262;
        }
        .show1{
            background: #2dafe0;
            border-color: #2dafe0;;
        }
        #wrapper{
            background-color: #fff;
        }
        .layui-layer-content{
            background-color: #393D49;
            color: #fff;
        }
        .layui-layer-title{
            display: none;
        }
    </style>
    <div class="ibox-content">
        <div role="form" class="form-inline">
            <div class="form-group">
                <label for="exampleInputPassword2">资源属性:</label>
                <select class="form-control m-b" id="push_type"  name="push_type">
                    <option value=""></option>
                    <option value="0">文章</option>
                    <option value="1">视频</option>
                </select>
            </div>
            <div class="form-group">
                <label for="exampleInputEmail2" >资源ID:</label>
                <input style="position: relative;top: -8px;" type="text" placeholder="资源ID" id="ad_pushId" class="form-control">
            </div>

            <div class="form-group">
                <label for="exampleInputPassword2">主推情况:</label>
                <select class="form-control m-b" id="push_tag"  name="push_tag">
                    <option value=""></option>
                    <option value="0">大首页主推</option>
                    <option value="1">板块主推</option>
                </select>
            </div>
            <div class="form-group">
                <label for="exampleInputPassword2">&nbsp;&nbsp;&nbsp;&nbsp;状态:</label>
                <select class="form-control m-b" name="push_status" id="push_status">
                    <option value="">全部</option>
                    <option value="0">已显示</option>
                    <option value="1">已隐藏</option>
                </select>
                <button style="position: relative;top: -8px;" class="btn btn-primary"  ng-click="pushSelectAll()">查询</button>
            </div>
        </div>
        <!--分页-->
        <div >
            <ul class="pagination"></ul>
        </div>
        <!--展示列表区域-->
        <div class="ibox-content">

            <table class="table table-bordered">
                <thead>
                <tr>
                    <th>ID</th>
                    <th>资源属性</th>
                    <th>资源归属</th>
                    <th>主推情况</th>
                    <th>排序值</th>
                    <th>操作</th>
                </tr>
                </thead>
                <tbody>
                <tr ng-repeat="i in list">
                    <td>{{i.pushId}}</td>
                    <td ng-bind-template="{{i.type=='0'?'文章':'视频'}}"></td>
                    <td>{{i.tag}}/{{i.tagSecond}}/{{i.tagThird}}</td>
                    <td>
                        <p>大首页主推：{{i.start}}至{{i.end}}</p>
                        <p>板块主推：{{i.first}}至{{i.last}}</p>
                    </td>
                    <td>{{i.weight}}</td>
                    <td>
                        <button id="article_change" type="button" class="btn btn-primary btn-sm show{{i.status}}" ng-click="pushChange(i.status,i.pushId,this)">{{change(i.status)}}</button>
                        <button type="button" class="btn btn-primary btn-sm" ng-click="pushUpdate(i.pushId)">修改</button>
                    </td>
                </tr>
                </tbody>
            </table>

        </div>
    </div>
</div>
</div>

